<?php

$data = $a->tblBusinessresources;

$i=0;
foreach ($data as $value) {
	$i++;
}
echo $i;
